package day13;


public class Test06 { 
public static void main(String[] args) { 
Child child = new Child(); 
} 
} 
class Parent { 
static { 
System.out.println("静态代码块Parent"); 
} 
{ 
System.out.println("构造代码块Parent"); 
} 
public Parent() { 
System.out.println("构造方法Parent"); 
} 
} 
class Child extends Parent { 
static {
System.out.println("静态代码块Child"); 
} 
{ 
System.out.println("构造代码块Child"); 
} 
public Child() { 
System.out.println("构造方法Child"); 
} 
}